From 9c2eca8f1785dc022b5fc9773137e322ab9e317a Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Mon, 9 Nov 2009 22:30:21 +0000 Subject: [PATCH] unlzma: Remove 'inline' decl from non-static function. Breaks the build with some versions of gcc. Signed-off-by: Keir Fraser --- xen/common/unlzma.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/xen/common/unlzma.c b/xen/common/unlzma.c index 45e644fc54..2e9d038ac0 100644 --- a/xen/common/unlzma.c +++ b/xen/common/unlzma.c @@ -524,12 +524,12 @@ static inline void INIT process_bit1(struct writer *wr, struct rc *rc, -STATIC inline int INIT unlzma(unsigned char *buf, unsigned int in_len, - int(*fill)(void*, unsigned int), - int(*flush)(void*, unsigned int), - unsigned char *output, - unsigned int *posp, - void(*error_fn)(const char *x) +STATIC int INIT unlzma(unsigned char *buf, unsigned int in_len, + int(*fill)(void*, unsigned int), + int(*flush)(void*, unsigned int), + unsigned char *output, + unsigned int *posp, + void(*error_fn)(const char *x) ) { struct lzma_header header; -- 2.30.2